<html>
<head><meta charset="utf-8"><title>disable rustdoc? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html">disable rustdoc?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="199322300"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199322300" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gizmondo <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199322300">(May 31 2020 at 21:42)</a>:</h4>
<p>Is there a way to disable rustdoc compilation? I see a case where (incremental) compilation of the compiler takes 20 seconds, and rustdoc takes another 30. Which seems not ideal considering I don't care about rustdoc at that point... <br>
Or maybe I'm misinterpreting x.py output?</p>



<a name="199322458"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199322458" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199322458">(May 31 2020 at 21:47)</a>:</h4>
<p>What are you running?</p>



<a name="199322583"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199322583" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gizmondo <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199322583">(May 31 2020 at 21:51)</a>:</h4>
<p>build --stage 1 --keep-stage 1 after touching something in rustc_target</p>



<a name="199322592"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199322592" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199322592">(May 31 2020 at 21:51)</a>:</h4>
<p>With no arguments?</p>



<a name="199322632"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199322632" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199322632">(May 31 2020 at 21:52)</a>:</h4>
<p>i.e., you generally want <code>x.py build --stage 1 --keep-stage 1 src/libstd</code></p>



<a name="199322640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199322640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gizmondo <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199322640">(May 31 2020 at 21:52)</a>:</h4>
<p>ah I see, let me try that. thanks!</p>



<a name="199333583"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199333583" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tshepang Lekhonkhobe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199333583">(Jun 01 2020 at 03:20)</a>:</h4>
<p>would that work, given the change is rustc_target</p>



<a name="199345637"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disable%20rustdoc%3F/near/199345637" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gizmondo <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disable.20rustdoc.3F.html#199345637">(Jun 01 2020 at 08:15)</a>:</h4>
<p>it does</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>